package com.entity;

import java.io.Serializable;

/**
 * 商品entity类
 * 包含名字、价格、库存、生产地址、品牌、其他、类别
 * 名称与数据库表名称一一对应
 */
public class Good implements Serializable {

    private String name;
    private int charge;
    private int amount;
    private String factory;
    private String mark;
    private String oth;
    private int kind;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCharge() {
        return charge;
    }

    public void setCharge(int charge) {
        this.charge = charge;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getOth() {
        return oth;
    }

    public void setOth(String oth) {
        this.oth = oth;
    }

    public int getKind() {
        return kind;
    }

    public void setKind(int kind) {
        this.kind = kind;
    }
}
